// AviDlg.cpp : implementation file
//

#include "stdafx.h"
#include "RGD.h"
#include "AviDlg.h"


// CAviDlg dialog

IMPLEMENT_DYNAMIC(CAviDlg, CDialog)

CAviDlg::CAviDlg(CWnd* pParent /*=NULL*/)
	: CDialog(CAviDlg::IDD, pParent)
	, m_width(100)
	, m_height(100)
	, m_fps(24)
	, m_plot(0)
{

}

CAviDlg::~CAviDlg()
{
}

void CAviDlg::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	DDX_Text(pDX, IDC_WIDTH, m_width);
	DDV_MinMaxUInt(pDX, m_width, 10, 10000);

	DDX_Text(pDX, IDC_HEIGHT, m_height);
	DDV_MinMaxUInt(pDX, m_height, 10, 10000);

	DDX_Text(pDX, IDC_FPS, m_fps);
	DDV_MinMaxUInt(pDX, m_fps, 1, 10000);

	DDX_Text(pDX, IDC_PLOT_TYPE, m_plot);
	DDV_MinMaxUInt(pDX, m_plot, 0, 4);
}


BEGIN_MESSAGE_MAP(CAviDlg, CDialog)
END_MESSAGE_MAP()


// CAviDlg message handlers
